package com.yingyi.system.domain;
import com.yingyi.basic.domain.BaseDomain;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * (Role)实体类
 * 对应的表（t_role）
 * @author Yingyi
 * @since 2022-08-02 10:39:24
 */
@Data 
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "(Role)")
public class Role extends BaseDomain{
    
    
    @ApiModelProperty(value = "")
    private String name;
    
    @ApiModelProperty(value = "")
    private String sn;



    //用于存储选择的菜单id
    private List<List<Long>> menuId = new ArrayList<>();
    //用于存储选择的权限id
    private List<Long> permissionId = new ArrayList<>();

}
